projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8175490
)
(spaces-string): Simplify and add doc string.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 18 Aug 2006 12:06:54 +0000
(12:06 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 18 Aug 2006 12:06:54 +0000
(12:06 +0000)
lisp/rect.el
patch
|
blob
|
history
diff --git
a/lisp/rect.el
b/lisp/rect.el
index be3a65ccd6ae70612765eea4bf5c6a03d44ddbe6..9515733ef2b708d4db5aa42a3c8e323b08df5a9a 100644
(file)
--- a/
lisp/rect.el
+++ b/
lisp/rect.el
@@
-181,12
+181,9
@@
the function is called."
;; this one is untouched --dv
(defun spaces-string (n)
+ "Returns a string with N spaces."
(if (<= n 8) (aref spaces-strings n)
- (let ((val ""))
- (while (> n 8)
- (setq val (concat " " val)
- n (- n 8)))
- (concat val (aref spaces-strings n)))))
+ (make-string n ? )))
;;;###autoload
(defun delete-rectangle (start end &optional fill)